package states;

import mediator.Mediator;


public class BuyerState extends State {

	BuyerState(Mediator med) {
		super(med);
	}

	@Override
	public void mouseClick(int x, int y) {
	}

	@Override
	public void mouseRightClick(int x, int y) {
		if (x >= med.mainWindow.table.getColumnModel().getColumn(0).getWidth())
			med.mainWindow.popMenuBuyer2.show(med.mainWindow.table, x, y);
		else 
			med.mainWindow.popMenuBuyer1.show(med.mainWindow.table, x, y);		
		
	}
}